package com.zzyl.nursing.vo;

import cn.hutool.core.date.DateTime;
import com.zzyl.nursing.domain.NursingLevel;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

@Data
public class NursingTaskVo {
    @com.fasterxml.jackson.annotation.JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private String updateBy;
    @com.fasterxml.jackson.annotation.JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    private Integer id;
    private String nursingId;
    private Integer projectId;
    private String projectName;
    private Integer elderId;
    private String elderName;
    private String bedNumber;
    // 预计服务时间：LocalDateTime
    @com.fasterxml.jackson.annotation.JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime estimatedServerTime;
    // 实际服务时间：LocalDateTime
    @com.fasterxml.jackson.annotation.JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime realServerTime;
    private String mark;
    private String cancelReason;
    private Integer status;
    private String taskImage;
    private List<String> nursingName;
    private String nursingLevelName;
    private Integer age;
    private String updater;

    /**
     * 护理员姓名
     */
    private String sex;
    
    // 用于接收数据库查询结果的字段
    private String nursing_level_name;




 }